package main

import (
	"fmt"
	"net/http"
)

func main() {
	mux := http.NewServeMux()
	mux.Handle("/api/", apiHandler{})
	mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
		if r.URL.Path != "/" {
			http.NotFound(w, r)
			return
		}
		fmt.Fprintf(w, "Welcome to the home page!")
	})

	http.ListenAndServe(":8000", mux)
}

type apiHandler struct {
}

func (apiHandler) ServeHTTP(http.ResponseWriter, *http.Request) {
}
